FROM golang:1.24.2


ENV GOPROXY https://goproxy.cn,direct
WORKDIR /app
COPY . /app
RUN go build .

EXPOSE 8000
ENTRYPOINT ["./gin-blog"]